package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Institution;

public interface InstitutionDao {
    //分页查询
    Page<Institution> findByCondition(String queryString);
    //新增套餐
    void save(Institution institution);
    //根据id查询体检机构
    Institution findById(Integer institutionId);
    //更新体检机构地址信息
    void update(Institution institution);
    //根据体检机构地址信息id查询是否存在预约设置
    Integer findOrderByInstitutionId(Integer institutionId);
    //删除体检机构地址信息
    void deleteById(Integer institutionId);
}
